remove iconbutton padding flutter

128

IconButton(
    padding: EdgeInsets.zero,
    constraints: BoxConstraints(),
)
Container(
  padding: const EdgeInsets.all(0.0),
  width: 30.0, // you can adjust the width as you need
  child: IconButton(
  ),
),

Comments

Submit
0 Comments